package org.apache.learning.result_map.constructor;

import lombok.Data;

/**
 * @author HanQi [Jpanda@aliyun.com]
 * @version 1.0
 * @since 2020/4/17 11:49:38
 */
@Data
public class Resource {
    private Integer id;
    private Integer pid;
    private String name;

    public Resource(Integer id, Integer pid, String name) {
        this.id = id;
        this.pid = pid;
        this.name = name;
    }

    public Resource(Integer id, String name, Integer pid) {
        this.id = id;
        this.pid = pid;
        this.name = name;
    }
}
